package zunge.twidel.typo;

import java.util.Date;

public class Tweet implements Comparable<Tweet>{
	public long tweetId;
	public Date tweetDate;
	public String tweetText;
	public boolean isDel;
	public int label;
	public long subsequentTweetId;

	public Tweet(long tid, Date tdate, String ttext, boolean isd){
		tweetId = tid;
		tweetDate = tdate;
		tweetText = ttext;
		isDel = isd;
		label = TypoCheck.TYPE_NORMAL;
		subsequentTweetId = -1;
	}

	@Override
	public int compareTo(Tweet arg0) {
		Tweet object = (Tweet)arg0;
		return this.tweetDate.compareTo(object.tweetDate);
	}
	
	
}
